/**
 * 
 */
package models;

import java.util.ArrayList;

/**
 * @author Teja
 * 
 */
public class StatusResponse {

	private ArrayList<String> responseMessages;
	private boolean isSucess;

	public StatusResponse() {
		this.responseMessages = new ArrayList<String>();
		this.isSucess = false;
	}

	/**
	 * @return the responseMessages
	 */
	public ArrayList<String> getResponseMessages() {
		return responseMessages;
	}

	/**
	 * @param responseMessages
	 *            the responseMessages to set
	 */
	public void setResponseMessage(ArrayList<String> responseMessages) {
		this.responseMessages = responseMessages;
	}

	/**
	 * @param responseMessages
	 *            the responseMessages to set
	 */
	public void addResponseMessage(String message) {
		this.responseMessages.add(message);
	}

	/**
	 * @return the isSucess
	 */
	public boolean isSucess() {
		return isSucess;
	}

	/**
	 * @param isSucess
	 *            the isSucess to set
	 */
	public void setSucess(boolean isSucess) {
		this.isSucess = isSucess;
	}

}
